package com.woniuxy.mapper;

import com.woniuxy.entity.Coordinate;
import com.woniuxy.entity.CoordinateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;


/*
@author Jan
@create 2020-05-27 15:24

*/ 
   
public interface CoordinateMapper {
    long countByExample(CoordinateExample example);

    int deleteByExample(CoordinateExample example);

    int deleteByPrimaryKey(Integer coordinateId);

    int insert(Coordinate record);

    int insertSelective(Coordinate record);

    List<Coordinate> selectByExample(CoordinateExample example);

    Coordinate selectByPrimaryKey(Integer coordinateId);

    int updateByExampleSelective(@Param("record") Coordinate record, @Param("example") CoordinateExample example);

    int updateByExample(@Param("record") Coordinate record, @Param("example") CoordinateExample example);

    int updateByPrimaryKeySelective(Coordinate record);

    int updateByPrimaryKey(Coordinate record);
    //根据营地名查询营地坐标
    List<Coordinate> selectByCampName(String CampName);
}